package com.cqc.jdk8.Jlang.thread;

import java.util.concurrent.TimeUnit;

public class CThread extends Thread {
    @Override
    public void run() {
        System.out.println("...CThread.run()...Priority:" + this.getPriority()
                + "...Name:" + this.getName()
                + "...Id:" + this.getId()
                + "...Daemon：" + this.isDaemon()
                + "...isAlive：" + this.isAlive());
        try {
            TimeUnit.SECONDS.sleep(3);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}